<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
	<class name="Insesoft.BusinessEntities.PermisoxUsuario,Insesoft.BusinessEntities" table="PermisoXUsuario">

		<id name="Id" column="Id" type="Int32" unsaved-value="0">
			<generator class="native"/>
		</id>
		<many-to-one name="Empresa" column="EmpId" class="Insesoft.BusinessEntities.Empresa,Insesoft.BusinessEntities" />
		<many-to-one name="Permiso" column="PermisoId" class="Insesoft.BusinessEntities.Permiso,Insesoft.BusinessEntities" lazy="false" fetch="join"/>
		<many-to-one name="Usuario" column="UsuarioId" class="Insesoft.BusinessEntities.Usuario,Insesoft.BusinessEntities" lazy="false" fetch="join"/>
		
	</class>
</hibernate-mapping>
